package com.xds.gulimall.auth.feign;

import com.xds.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author : baixu
 * @date : 10:48 2021/12/16
 */
@FeignClient("gulimall-third-party")
public interface ThirdPartFeign {
    @GetMapping("/sms/sendCode")
    public R sendMsm(@RequestParam("phone") String phone);
}
